package com.sky.yipinyoufujava.service;

import com.sky.yipinyoufujava.pojo.from.ServiceDateFrom;
import com.sky.yipinyoufujava.pojo.service.ServiceDate;
import com.sky.yipinyoufujava.pojo.service.ServiceTime;

import java.time.LocalDate;
import java.util.List;

public interface ServiceDateService {
    List<ServiceDate> getServiceDate(Object shopsId,LocalDate date);

    List<ServiceTime> getServiceTime(Object serviceId,String timeNow);

    ServiceDate getShopsServiceDate(ServiceDateFrom serviceDateFrom);

    List<ServiceTime> getShopsServiceTime(Integer id);

    void addServiceTime(ServiceDateFrom serviceDateFrom, List<String> timeIntervals);

    Integer queryDateId(String date,String shopsId);

    void addServiceDate(ServiceDateFrom serviceDateFrom);
}
